package labox.innovation.gameserver.network.clientpackets;

import labox.innovation.gameserver.model.actor.instance.FuzePcInstance;
import labox.innovation.gameserver.network.serverpackets.NearbyCharacterPacket;

/**
 * @author ljsh
 * @date 2010-4-13 
 * @version 1.0
 * @description 搜索附近玩家/NPC
 */
public class RequestNearbyPlayer extends L2GameClientPacket {
	private static final String _C__RequestNearbyPlayer = "[C] RequestNearbyPlayer";


	@Override
	public String getType() {

		return _C__RequestNearbyPlayer;
	}

	@Override
	protected void readImpl() {
	}

	@Override
	protected void runImpl() {
		FuzePcInstance request = getClient().getActiveChar();
		if (request == null) {
			return;
		}
		request.sendPacket(new NearbyCharacterPacket(request));

	}

}
